package com.riven.bilibilidemo.views;

import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.View;


public class WrapContentHeightViewPager extends ViewPager {


    @Override
    public void scrollTo(int x, int y) {

        super.scrollTo(x, y);
    }


    @Override
    public void setCurrentItem(int item, boolean smoothScroll) {

        super.setCurrentItem(item, smoothScroll);
    }


    @Override
    public void setCurrentItem(int item) {

        super.setCurrentItem(item, false);
    }
    public WrapContentHeightViewPager(Context context) {
        super(context);
    }

    public WrapContentHeightViewPager(Context context, AttributeSet attrs) {
        super(context, attrs);
    }


}
